Create Task
Tasks
Create Task
Create a task and initialize dependency rows
POST
Create Task
Create a new task on a board with optional dependencies, tags, and custom field values. The task will be validated against dependency rules and custom field requirements.
Path Parameters
The UUID of the board to create the task in
Request Body
Task title
Detailed task description
Initial task statusAllowed values:
inbox, in_progress, review, doneTask priority level (e.g., low, medium, high, critical)
ISO 8601 timestamp for task due date
UUID of the agent to assign this task to
UUID of the user creating the task (auto-populated from auth context if not provided)
Array of task UUIDs this task depends on. Dependencies must:
- Exist on the same board
- Not create circular dependency chains
- Not include the task itself
Array of tag UUIDs to apply to this task
Key-value pairs for custom field values. Keys must match board-configured custom field definitions.
Response
Newly created task UUID
Board UUID
Task title
Task description
Task status
Task priority
Due date timestamp
Assigned agent UUID
Creator user UUID
Timestamp when task entered in_progress (null for new tasks)
Dependency task UUIDs
Task UUIDs blocking this task
Whether task is blocked by dependencies
Applied tag UUIDs
Tag objects with id, name, and color
Custom field key-value pairs
Creation timestamp
Last update timestamp
Example Request
Example Response
Error Responses
409 Conflict - Blocked by Dependencies
Returned when creating a task with incomplete dependencies while also assigning it or setting status to non-inbox:409 Conflict - Dependency Cycle
404 Not Found - Missing Dependencies
422 Unprocessable Entity - Invalid Custom Fields
Notes
- Blocked tasks (with incomplete dependencies) cannot be assigned or moved out of inbox status
- Dependencies must exist on the same board and cannot create cycles
- Custom field values are validated against board-specific field definitions
- Required custom fields must have values (or use their default values)
- The board lead agent is automatically notified when a new task is created
- If an agent is assigned, they receive a notification via the gateway